home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / tex-faq < prev    next >
Internet Message Format  |  1994-04-08  |  57KB

  1. Path: bloom-beacon.mit.edu!hookup!usc!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!hot.caltech.edu!bobby
  2. From: bobby@hot.caltech.edu (Bobby Bodenheimer)
  3. Newsgroups: comp.text.tex,fr.comp.text.tex,comp.answers,news.answers
  4. Subject: TeX, LaTeX, etc.: Frequently Asked Questions with Answers [Monthly]
  5. Supersedes: <tex-faq_755302854@hot.caltech.edu>
  6. Followup-To: comp.text.tex
  7. Date: 8 Apr 1994 20:55:08 GMT
  8. Organization: California Institute of Technology, Pasadena, CA.
  9. Lines: 1083
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 6 Jun 1994 20:54:15 GMT
  12. Message-ID: <tex-faq_765838455@hot.caltech.edu>
  13. Reply-To: bobby@hot.caltech.edu
  14. NNTP-Posting-Host: hot.caltech.edu
  15. Keywords: monthly faq
  16. Originator: bobby@hot.caltech.edu
  17. Xref: bloom-beacon.mit.edu comp.text.tex:25086 fr.comp.text.tex:41 comp.answers:4825 news.answers:17835
  18.  
  19. Archive-name: tex-faq
  20.  
  21. Comp.text.tex is a forum for the discussion of TeX, LaTeX and other
  22. related things. TeX is a software system written by Donald Knuth to
  23. typeset text, especially text containing mathematics. LaTeX is a set
  24. of macros written in TeX, designed to simplify the the typesetting of
  25. a document by allowing the user to concentrate on the content and
  26. structure of the document rather than the exact appearance of the
  27. finished product. METAFONT, also discussed here, is a program which
  28. allows the user to design their own fonts. The definitive reference
  29. for TeX is _The TeXbook_, by Donald Knuth (Addison Wesley, 1984, ISBN
  30. 0-201-13447-0, paperback 0-201-13448-9). For LaTeX, see _LaTeX, a
  31. Document Preparation System_ by Leslie Lamport (Addison Wesley, 1986,
  32. ISBN 0-201-15790-X). For LaTeX2e, full documentation can be found in
  33. _The LaTeX Companion_ by Michael Goossens, Frank Mittelbach, and Alexander
  34. Samarin (Addison Wesley, 1993, ISBN 0-201-54199-8). For METAFONT, see 
  35. _The METAFONTbook_ by Donald Knuth (Addison Wesley, 1984, 
  36. ISBN 0-201-13445-4). The American Mathematical Society has two macro 
  37. packages which are also popular, called AMS-TeX and AMS-LaTeX.
  38.  
  39. This article contains answers to some frequently asked questions on
  40. comp.text.tex. Please don't ask these questions again, as they've been
  41. answered many times before. 
  42.  
  43. This is version 1.44 for April, last changed 4/8/94.
  44.  
  45. This article includes answers to:
  46.  
  47.   1) How can I get a copy of this article?
  48.   2) Where can I get a DVI to PostScript conversion program?
  49.   3) How can I include a PostScript figure in LaTeX?
  50.   4) Where can I find a DVI previewer for machine Y running Q?
  51.   5) Where can I get the manual for PiCTeX?
  52.   6) What is VorTeX and where can I get it?
  53.   7) What is OzTeX and where can I get it (TeX for the Mac)?
  54.   8) What is Fig and where can I get it?
  55.   9) How do I get WEB for C, FORTRAN, or some other language?
  56.   10) How can I typeset music in TeX?
  57.   11) What is TUG and TUGboat?
  58.   12) How do I convert Adobe's afm files to tfm format?
  59.   13) In LaTeX, how do I get a double-spaced document?
  60.   14) In LaTeX, how do I include a file in the verbatim environment?
  61.   15) In LaTeX, how do I do Y?
  62.   16) Where can I find a TeX macro or LaTeX style file for doing Y?
  63.   17) How do I generate an index in TeX/LaTeX?
  64.   18) How do I get METAFONT to do what I want it to do?
  65.   19) Where do I get TeX/LaTeX for machine Y running Q?
  66.   20) Where can I get a thesis style for LaTeX?
  67.   21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  68.       and so on?
  69.   22) What repositories of TeX material are available, and how can I
  70.       access them?
  71.   23) How do I use PostScript fonts with LaTeX?
  72.   24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  73.   25) How do I get a file into the major style repositories?
  74.   26) Where can I get font Y?
  75.   27) Where can I get a dvi driver for the HP LaserJet?
  76.   28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  77.   29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  78.       with all the formatting intact, a la nroff?
  79.   30) How do I enlarge TeX? I keep getting ``memory capacity exceeded''
  80.       errors.
  81.   31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  82.       numbered. What do I do?
  83.   32) Where do I find documentation about BibTeX?
  84.   33) How do I use BibTeX with plain TeX?
  85.   34) How do I draw Feynman diagrams in LaTeX?
  86.   35) What is the New Font Selection Scheme (NFSS)?
  87.   36) In LaTeX, my cross-references for floats (figures and tables) are
  88.       incorrect. What's wrong?
  89.   37) I want to change the margins in LaTeX. What can I do?
  90.   38) How do I find the width of a letter, word, or phrase in TeX?
  91.   39) In LaTeX, is there a comment or ``ignore'' environment with which
  92.       I can exclude blocks of text from the .dvi file?
  93.   40) Where can I find a spelling checker for my TeX file?
  94.   41) What is LaTeX2e?
  95.  
  96. If you are looking, for instance, for the answer to question 17, and wish
  97. to skip everything else, you can search ahead for the regular expression
  98. ``^17)''.
  99.  
  100. These are all legitimate questions, but they seem to appear too 
  101. frequently for long-time readers of the list. 
  102.  
  103. Many of the answers below tell you that you can obtain something
  104. through anonymous ftp. ``Ftp'' stands for file transfer protocol, and
  105. is also the name of a program implementing the protocol. The program
  106. allows users to transfer files to and from remote sites, if the sites
  107. are connected via a network such as the Internet. ``Anonymous ftp'' 
  108. indicates a user may connect to a remote site as the user 
  109. ``anonymous'' with a password consisting of their email address, and
  110. thus be able to retrieve files from that site. Remember, anonymous
  111. ftp is a privilege and the system administrators for these sites 
  112. have made these files available out of their own generosity. Therefore
  113. please restrict your ftp'ing to non-prime hours at the various sites.
  114.  
  115. I would like to acknowledge Don Hosek, Ken Yap, Tomas Rokicki, Micah
  116. Beck, and David Carlisle, whose postings provided many of the answers.
  117. Joe Weening, Hal Perkins, Walter Carlip, Max Hailpern, Tad Guy,
  118. Raymond Chen, Henning Schulzrinne, Sebastian Rahtz, Mark James, Peter
  119. Galko, Mike Ernst, Rainer Sch\"opf, Oren Patashnik, Philippe Louarn,
  120. Rafal Zbikowski, Anita Marie Hoover, David Rhead, Darrell McCauley,
  121. Cameron Smith, Emma Pease, Patrick McPhee, Karl Berry, Robin
  122. Fairbairns, and Joohee Jeong provided additional material and
  123. criticisms. The format of this document is based on the Frequently
  124. Asked Questions written by Steve Hayman which formerly appeared in
  125. comp.unix.wizards. Any mistakes are mine. Send corrections,
  126. suggestions, and additions to bobby@hot.caltech.edu.
  127.  
  128. 1) How can I get a copy of this article?
  129.  
  130.    You're reading it aren't you? SAVE it :-). This article is posted
  131.    monthly to comp.text.tex and cross-posted to news.answers. It is
  132.    therefore archived at any site that archives news.answers.
  133.    News.answers is archived on rtfm.mit.edu (18.70.0.209), and this
  134.    article is available there via anonymous ftp in the directory
  135.    ./pub/usenet/news.answers/tex-faq. If you do not have anonymous
  136.    ftp, send an e-mail message containing the lines ``SENDME FAQ.'' to
  137.    fileserv@shsu.edu (fileserv@shsu.bitnet).  Another way to retrieve
  138.    it via email is through the mailserver at rtfm: send a message
  139.    containing the lines ``help'' and ``index'' to
  140.    mail-server@rtfm.mit.edu for information on how to obtain it.
  141.  
  142.    Other news.answers/FAQ archives are: cnam.cnam.fr (163.173.128.6)
  143.    in the anonymous ftp directory /pub/FAQ; ftp.uu.net (192.48.96.2)
  144.    in the anonymous ftp directory /pub/usenet (also available via mail
  145.    server requests to netlib@uunet.uu.net, or via uunet's 1-900
  146.    anonymous UUCP phone number); and ftp.cs.ruu.nl (131.211.80.17) in
  147.    the anonymous ftp directory NEWS.ANSWERS (also accessible via mail
  148.    server requests to mail-server@cs.ruu.nl). Many of the archives
  149.    mentioned in question 22 also maintain current versions of this
  150.    document.
  151.  
  152. 2) Where can I get a DVI to PostScript conversion program?
  153.  
  154.    Two good DVI to PostScript conversion programs that run under
  155.    Unix are:
  156.      dvips - by Tomas Rokicki. This driver is very nice and has the
  157.        ability to deal with virtual fonts. Available via anonymous ftp
  158.        from labrea.stanford.edu (36.8.0.112) in ./pub. Dvips is
  159.        written in C and ports easily to other operating systems.  It
  160.        is available for VMS via anonymous ftp from any CTAN site (see
  161.        question 22) and also through the DECUS library (see question
  162.        22). A precompiled version for MSDOS is available from
  163.        monu1.cc.monash.edu.au (130.194.1.101) in ./pub/dvips54.zip or
  164.        from shape.mps.ohio-state.edu (128.146.110.30) in
  165.        ./pub/msdos/dvips/dvips54.zip. If you wish to use postscript
  166.        fonts, get dvipslib.zip as well.  Documentation is available in
  167.        dvips.ps.Z. Karl Berry has a version of dvips called dvipsk
  168.        which has a configure script and path searching code similar to
  169.        that in his other programs (e.g., web2c).  It is available via
  170.        anonymous ftp from ftp.cs.umb.edu (158.121.104.33) in
  171.        ./pub/tex/.
  172.  
  173.      dvitops - by James Clark. Available via anonymous ftp from any CTAN site
  174.        (see question 22, e.g., pip.shsu.edu (192.92.115.10)), in 
  175.        ./tex-archive/dviware/dvitops. Dvitops is written in C and will 
  176.        compile under Unix, MSDOS, VMS, and Primos.
  177.  
  178. 3) How can I include a PostScript figure in LaTeX?
  179.  
  180.    Perhaps the best way to do this is to use the psfig macros written
  181.    by Trevor Darrell. They are available via anonymous ftp from
  182.    any CTAN site (see question 22) in graphics/psfig. You will
  183.    also need a dvi to PostScript conversion program that supports
  184.    \specials. The ones mentioned in question 2 do, and come with a
  185.    version of psfig ready to use with them. The psfig macros work best
  186.    with Encapsulated PostScript Files (EPS). In particular, psfig will
  187.    need the file to have a BoundingBox (see Appendix C of the
  188.    _PostScript Language Reference Manual_). If you don't have an EPS
  189.    file, life can be difficult.
  190.  
  191.    One further note about including PostScript figures is that they
  192.    are not part of the dvi file, but are included when you use a dvi
  193.    to PostScript conversion program. As a result, most dvi previewers
  194.    will simply show the blank space TeX has reserved for your figure,
  195.    not the figure itself. LaTeX2e (see question 41) will have a standard
  196.    interface for graphics inclusion, rotation, color, and other 
  197.    driver-related features.
  198.  
  199.    Anil K. Goel has written a long document describing in detail how to
  200.    include figures, pictures, and images in LaTeX documents. It is available
  201.    via anonymous ftp from math.uwaterloo.ca (129.97.140.144) in
  202.    ./pub/figsInLatex.ps.Z. A dvi file with the included PostScript files
  203.    is also available.
  204.  
  205. 4) Where can I find a DVI previewer for machine Y running Q?
  206.  
  207.    This briefly lists some previewers available via anonymous ftp. All
  208.    are available from any CTAN site (see question 22) in addition to the
  209.    sites listed below:
  210.       dvipage - For SunView. This was published in volume 15 of 
  211.         comp.sources.unix and is available at sites that archive
  212.         this. One such source is archive.cis.ohio-state.edu 
  213.         (128.146.8.52).
  214.       xtex - For the X Window System. Available via anonymous ftp 
  215.         from ftp.cs.colorado.edu (128.138.243.151) in 
  216.         ./pub/cs/misc/SeeTeX/SeeTeX/SeeTeX-*.tar.Z.
  217.       dviapollo- for Apollo Domain. Available via anonymous ftp from
  218.         labrea.stanford.edu (36.8.0.112) in ./pub/dviapollo.tar.Z.
  219.       dvidis - For VAXstation VWS. Available via anonymous ftp from
  220.         src.doc.ic.ac.uk (146.169.2.1) in /packages/tex/dviware/dvidis.
  221.       xdvi - Also for the X Window System. Available via anonymous ftp
  222.         from ftp.x.org (192.112.44.100) in ./contrib/xdvi.tar.Z. Karl
  223.         Berry has a version of called xdvik with features analogous
  224.         to his dvipsk (see question 2) available via anonymous ftp from
  225.         ftp.cs.umb.edu (158.121.104.33) in ./pub/tex.
  226.       dvitovdu - for Tektronix 4010 and other terminals under Unix.
  227.         Available via anonymous ftp from wsmr-simtel20.army.mil
  228.         (192.88.110.20) in the directory pd6:<unix-c.printers> as
  229.         dvi2vdu.tar-z (ftp in ``tenex'' mode).
  230.       dvi2tty - A dvi to ASCII conversion program, for normal terminals.
  231.         Available from ftp.cs.ruu.nl (131.211.80.17) in 
  232.         ./pub/TEX/DVI/dvi2tty.shar. A VMS version is available from
  233.         fileserv@shsu.edu (see question 22).
  234.       texsgi - For SGI under Irix. Available via anonymous ftp from 
  235.         ftp.brl.mil (128.63.16.158) in ./info-iris/tex. Both a binary 
  236.         and source are available, but be sure to get the fonts as well.
  237.    
  238. 5) Where can I get the manual for PiCTeX?
  239.  
  240.    The PiCTeX manual is not free. It is available for $30 ($35 with the
  241.    disk) from the TeX Users Group:
  242.                      TeX Users Group
  243.                      P. O. Box 869
  244.                      Santa Barbara, CA 93102-0869 (USA)
  245.                      805-963-1338
  246.                      FAX: 805-963-8358
  247.                      tug@tug.org
  248.  
  249.    The proceeds from this sale go to Michael Wichura, the author of PiCTeX,
  250.    and TUG.
  251.  
  252. 6) What is VorTeX and where can I get it?
  253.  
  254.    VorTeX is a package of programs written at the University of California.
  255.    It includes several nice previewers and some Emacs modes for TeX and
  256.    BibTeX. It is available via anonymous ftp from ftp.cs.berkeley.edu
  257.    (128.32.149.78) in ./ucb/mhgs and from any CTAN archive (see question
  258.    22). The VorTeX distribution is not maintained.
  259.  
  260. 7) What is OzTeX and where can I get it (TeX for the Mac)?
  261.  
  262.    OzTeX is a public domain version of TeX for the Macintosh. A DVI
  263.    Previewer and PostScript driver are also included. It should run on
  264.    any Macintosh Plus, SE, II, or newer model, but will not work on a
  265.    128K or 512K Mac. It was written by Andrew Trevorrow, and is available 
  266.    via anonymous ftp from from midway.uchicago.edu (128.135.12.73) in 
  267.    ./pub/OzTeX, which contains other public domain TeX-related software 
  268.    for the Mac as well, or on a floppy disk from TUG (see question 11). 
  269.    Questions about OzTeX may be directed to oztex@midway.uchicago.edu.
  270.    
  271. 8) What is Fig and where can I get it?
  272.  
  273.    Fig is a menu driven tool similar to MacDraw that allows you to
  274.    draw objects on the screen of a Sun Workstation running SunView.
  275.    TransFig is a set of tools which translate the code fig produces to
  276.    other graphics languages including PostScript and the LaTeX picture
  277.    environment. Both are available via anonymous ftp from
  278.    ftp.cs.cornell.edu (128.84.218.75) in ./pub/fig. Both Fig and
  279.    TransFig are also available from the Clarkson archive server at
  280.    sun.soe.clarkson.edu (see question 22). Fig is supported by Micah
  281.    Beck (beck@cs.cornell.edu) and Transfig is maintained by Brian
  282.    Smith (bvsmith@lbl.gov). Another tool for fig conversion is fig2MF
  283.    which generates METAFONT code from fig input. It is available from
  284.    the CTAN archives discussed in question 22.
  285.  
  286.    XFig is essentially the same program except it runs under the X
  287.    Window System. It is available via anonymous ftp from ftp.x.org
  288.    (192.112.44.100) in ./contrib/R5fixes/xfig-patches/xfig-2.1.*.Z. It
  289.    was written by Brian Smith.
  290.  
  291. 9) How do I get WEB for C, FORTRAN, or some other language?
  292.  
  293.    There is a version of WEB for C called CWEB written by Silvio Levy. It
  294.    is available via anonymous ftp from princeton.edu (128.112.128.1) in 
  295.    the directory ./pub/cweb.
  296.  
  297.    There is a version of WEB called Spidery WEB which supports many 
  298.    languages including ADA, awk, and C. It was written by Norman Ramsey 
  299.    and, while not in the public domain, is usable free. It is available 
  300.    via anonymous ftp from pip.shsu.edu (192.92.115.10) in 
  301.    tex-archive/web/spiderweb.
  302.  
  303.    FWEB is a version of WEB for Fortran, Ratfor, and C written by John
  304.    Krommes (krommes@lyman.pppl.gov). Version 1.13 is available via
  305.    anonymous ftp from lyman.pppl.gov (192.55.106.129) in ./pub/fweb.
  306.  
  307.    SchemeWEB is a Unix filter that translates SchemeWEB into LaTeX source
  308.    or Scheme source. It was written by John Ramsdell and is available from
  309.    sun.soe.clarkson.edu (128.153.12.3) in ./pub/tex/tex-programs/schemeweb.
  310.  
  311.    APLWEB is a version of WEB for APL and is available from
  312.    watserv1.waterloo.edu (129.97.129.140) in ./languages/apl.
  313.  
  314.    FunnelWeb is a version of WEB that is language independent. It is 
  315.    available via anonymous ftp from ftp.adelaide.edu.au (129.127.40.3)
  316.    in ./pub/funnelweb. It also appeared in comp.sources.unix volume 26
  317.    issue 121, posted 11 April 1993. Another language independent version
  318.    of WEB is NUWEB, available via anonymous ftp from cs.rice.edu
  319.    (128.42.1.30) in ./public/preston. NUWEB is written in ANSI C.
  320.  
  321.    Most of the above are also available from your nearest CTAN site
  322.    (see question 22).
  323.  
  324. 10) How can I typeset music in TeX?
  325.  
  326.     A package called MuTeX, written by Andrea Steinbach and Angelika
  327.     Schofer, aids in doing this. It is available via anonymous ftp
  328.     from ftp.cs.ruu.nl (131.211.80.17) in pub/TEX/MuTeX.tar.Z.  This
  329.     package allows you to typeset single-staff music and lyrics.
  330.  
  331.     A more powerful package which allows the typesetting of orchestral
  332.     and polyphonic music is MusicTeX, written by Daniel Taupin 
  333.     (taupin@frups51.bitnet). It is available via anonymous ftp from
  334.     rsovax.ups.circe.fr (130.84.128.100) [.musictex]. It should also
  335.     be available from the archive sites detailed in question 22.
  336.  
  337.     There is a mailing list for discussion of typesetting music in TeX.
  338.     To subscribe, send a request to mutex-request@stolaf.edu.
  339.  
  340. 11) What is TUG and TUGboat?
  341.  
  342.     TUG is the TeX Users Group. TUGboat is their newsletter, containing
  343.     useful articles about TeX and METAFONT. TUG also distributes
  344.     TeX-related microcomputer software on disks. Inquiries should be 
  345.     directed to:
  346.                      TeX Users Group
  347.                      P. O. Box 869
  348.                      Santa Barbara, CA 93102-0869 (USA)
  349.                      805-963-1338
  350.                      FAX: 805-963-8358
  351.                      tug@tug.org
  352.  
  353. 12) How do I convert Adobe's afm files to tfm format?
  354.  
  355.     An afm2tfm program is distributed with dvips, available via
  356.     anonymous ftp from labrea.stanford.edu (36.8.0.112) in ./pub. Allan
  357.     Jeffries' fontinst package is an afm2tfm converter written in TeX 
  358.     and will be used to support the PostScript tfm files for LaTeX2e
  359.     (see question 41). It is available from any CTAN site (see question
  360.     22).
  361.  
  362.     For the Macintosh, there is a program called EdMetrics which does
  363.     the job (and more). It is available free from:
  364.               Blue Sky Research
  365.               534 Southwest Third Avenue
  366.               Portland, Oregon 97204 (USA)
  367.               800-622-8398 or 503-222-9571
  368.  
  369. 13) In LaTeX, how do I get a double-spaced document?
  370.  
  371.     Are you producing a thesis, and trying to obey regulations that were
  372.     drafted in the typewriter era?  LaTeX is a typesetting system, so the
  373.     appropriate design conventions are for ``real books''.  Find whoever
  374.     is responsible for the regulations, and try to get the wording changed
  375.     to cater for typeset theses (e.g., to say ``if using a typesetting 
  376.     system, aim to make your thesis look like a well-designed book'').
  377.  
  378.     If you fail to convince your officials, or want some inter-line 
  379.     space for copy-editing:
  380.      - Try changing \baselinestretch: \renewcommand{\baselinestretch}{1.2}
  381.        may be enough to give officials the impression you've kept
  382.        to their regulations.  Don't try changing \baselineskip: its
  383.        value is reset at any size-changing command.
  384.      - Alternatively, get doublespace.sty from any CTAN site (see question 22,
  385.        e.g., pip.shsu.edu (192.92.115.10)) in 
  386.        ./tex-archive/macros/latex/contrib/misc. There's also a setspace.sty
  387.        in the same directory which is more flexible, and consistent with the
  388.        latest release of LaTeX.
  389.  
  390.     It's not worth going to a lot of trouble.  (If officials won't allow
  391.     standard typographic conventions, you won't be able to produce an
  392.     aesthetically pleasing document anyway!)
  393.  
  394. 14) In LaTeX, how do I include a file in the verbatim environment?
  395.  
  396.     A good way to do this is to use Rainer Sch\"opf's verbatim.sty,
  397.     which provides the command \verbatiminput that takes a file
  398.     as an argument. This package is available from any CTAN site (see 
  399.     question 22) in ./tex-archive/macros/latex/distribs. Several
  400.     files are needed.
  401.  
  402.     Another way to do this is to use the alltt environment defined in
  403.     the style file alltt.sty available from the CTAN archives in 
  404.     ./tex-archive/macros/latex/contrib/misc/alltt.sty.
  405.  
  406. 15) In LaTeX, how do I do Y?
  407.  
  408.     If you can't figure out how to do something in LaTeX after you
  409.     have read the manual very carefully, asked your local LaTeX
  410.     guru, and thought about it, there is a LaTeX help service 
  411.     available. Please note that the way to accomplish something 
  412.     in LaTeX is often by using an appropriate style file, so please
  413.     check this also (see question 16). If none of this works, send mail 
  414.     in English describing your problem to latex-help@cs.stanford.edu. 
  415.     If you haven't gotten a reply to your problem within about a week, 
  416.     send mail to latex-help-coordinator@cs.stanford.edu.
  417.  
  418. 16) Where can I find a TeX macro or LaTeX style file for doing Y?
  419.  
  420.     Before you ask for a TeX macro or LaTeX style file to do something, 
  421.     please search the TeX macro index written by David M. Jones
  422.     (dmjones@theory.lcs.mit.edu) and available via anonymous ftp
  423.     from theory.lcs.mit.edu (18.52.0.92) in ./pub/tex/TeX-index. Those 
  424.     without access to anonymous ftp can send a message containing the
  425.     line ``send tex TeX-index'' to archive-server@theory.lcs.mit.edu.
  426.     The index is an excellent reference document with plenty of 
  427.     cross-references. Also, many of the archive sites mentioned in
  428.     question 22 maintain extensive latex style collections, which you
  429.     can look through if you need something not in the index.
  430.  
  431.     Another possibility is to use the searching features of the CTAN
  432.     archives (see question 22). Once you have an anonymous ftp connection
  433.     established to a CTAN site, you can type the command `quote site index
  434.     <term>' and it will provide a list of files with the string <term> in
  435.     their names.
  436.     
  437. 17) How do I generate an index in TeX/LaTeX?
  438.  
  439.     Making an index is not trivial. There are several indexing programs
  440.     which aid in doing this. The following are available from any CTAN
  441.     site (see question 22):
  442.       makeindex - for LaTeX under Unix (but runs under other OS's
  443.          without changes). A version for the Macintosh is available from
  444.          Johnny Tolliver at tolliver%atf.mfenet@nmfecc.llnl.gov. The 
  445.          Makeindex documentation is a good source of information on how 
  446.          to create your own index. Makeindex can be used with some TeX macro
  447.          packages other than LaTeX, such as Eplain.
  448.       idxtex - for LaTeX under VMS.
  449.       texix - for TeX on CMS and Macintosh machines.
  450.       texindex - for LaTeX under Unix. Available from
  451.          comp.sources.misc archives in Volume 23.
  452.  
  453. 18) How do I get METAFONT to do what I want it to do?
  454.  
  455.     METAFONT allows you to create your own fonts, and ordinary TeX users
  456.     will never need to use it. METAFONT, unlike TeX, requires some 
  457.     customization. Each output device for which you will be generating 
  458.     fonts needs a mode associated with it. Modes are defined using the 
  459.     mode_def convention described on page 94 of _The METAFONTbook_. So 
  460.     first create a file, which we will call local.mf, containing all the 
  461.     mode_defs you will be using. The file modes.mf by Karl Berry,
  462.     available via anonymous ftp from ftp.cs.umb.edu (158.121.104.33) in
  463.     ./pub/tex is a good starting point for this. Listings of settings for 
  464.     various output devices are also published periodically in TUGboat 
  465.     (see question 11). Now create a plain base file using inimf, plain.mf, 
  466.     and local.mf:
  467.        % inimf
  468.        This is METAFONT....
  469.        **plain                 # you type plain
  470.        (output)
  471.        *input local            # you type this
  472.        (output)
  473.        *dump                   # you type this
  474.        Beginning to dump on file plain....
  475.        (output)
  476.        %
  477.     This should create a base file named plain.base (or something close)
  478.     and should be moved to the directory containing the base files on
  479.     your system.
  480.  
  481.     Now you need to make sure METAFONT loads this base when it starts
  482.     up. If METAFONT loads the plain base by default on your system, then
  483.     you're ready to go. Under Unix, we might, for instance define a 
  484.     command mf which executes ``virmf &plain,'' loading the plain base
  485.     file.
  486.  
  487.     The usual way to create a font with plain METAFONT is to then start 
  488.     it with the line
  489.        \mode=<mode name>; mag=<magnification>; input <font file name>
  490.     in response to the * prompt or on the METAFONT command line. If 
  491.     <mode name> is unknown or omitted, then the mode defaults to proof 
  492.     mode. If this has happened METAFONT will produce an output file
  493.     called <font file name>.2602gf. The <magnification> is a floating 
  494.     point number or magstep (magsteps are defined in _The METAFONTbook_ 
  495.     and _The TeXbook_). If mag=<magnification> is omitted, then the 
  496.     default is 1. For example, to generate cmr10 at 12pt for an epson 
  497.     printer you would type
  498.        mf \mode=epson; mag=1.2; input cmr10
  499.     Note that under Unix the '\' and ';' characters must usually be 
  500.     escaped, so this would typically look something like
  501.        mf \\mode=epson\; mag=1.2\; input cmr10
  502.  
  503.     If you don't have inimf or need a special mode that isn't in the
  504.     base, you can put its commands in a file (e.g., ln03.mf) and invoke
  505.     it on the fly with the \smode command. For example, to create 
  506.     ln03.300gf for an LN03 printer, using the file
  507.     % This is ln03.mf as of 2/27/90
  508.     % mode_def courtesy of John Sauter
  509.     proofing:=0;
  510.     fontmaking:=1;
  511.     tracingtitles:=0;
  512.     pixels_per_inch:=300;
  513.     blacker:=0.65;
  514.     fillin:=-0.1;
  515.     o_correction:=.5;
  516.     (note the absence of the mode_def and enddef commands), you would type
  517.        mf \smode="ln03"; input cmr10
  518.     
  519. 19) Where do I get TeX/LaTeX for machine Y running Q?
  520.  
  521.     Unix - The Unix TeX distribution is available via anonymous ftp from any 
  522.        CTAN archive (see question 22). If you don't want to do this, you can 
  523.        order it from the University of Washington, for a small fee. Contact:
  524.                   Director
  525.                   Northwest Computing Support Center
  526.                   Thomson Hall, Mail Stop DR-10
  527.                   University of Washington
  528.                   Seattle, WA 98195 (USA)
  529.                   (206)543-6259
  530.        or send electronic mail to Elizabeth Tachikawa at 
  531.        elisabet@max.u.washington.edu (note the ``s''). The fee charged 
  532.        for getting the TeX distribution through the University of 
  533.        Washington helps fund the further development of Unix TeX, so 
  534.        it's a good idea to order it this way.
  535.  
  536.        Instructions for retrieving TeX via anonymous ftp are available
  537.        in the document FTP.nwc, itself available via anonymous ftp from
  538.        ftp.cs.umb.edu (158.21.104.33) in ./pub/tex.
  539.  
  540.        Note: The Unix version of TeX allows your ``macros'' or ``inputs''
  541.        and ``fonts'' directories to be hierarchically organized with
  542.        further subdirectories, rather than dumping everything into one
  543.        directory. This can cause TeX to start very slowly. The cure
  544.        for this problem is to insure each subdirectory contains either
  545.        only directories or only files.
  546.  
  547.     AIX - TeX for the IBM RS6000 running AIX can be found on
  548.        ftp.dante.de (129.206.100.192) in ./tex-archive/systems/unix/aix3.2.
  549.  
  550.     386/ix - Executables for the 386/ix are available via anonymous ftp 
  551.        from tik.vtt.fi (130.188.52.2) in ./pub/tex/bin-386ix and from 
  552.        math.berkeley.edu (128.32.183.94) in ./pub/tex386ix.tar.Z.
  553.  
  554.     PC - A TeX package for the PC, including LaTeX, BibTeX, previewers,
  555.        and drivers is available via anonymous ftp from 
  556.        vax.eedsp.gatech.edu (130.207.226.24) in ./pub/TeX. The variety here
  557.        is sbtex version 30 by Wayne Sullivan. EmTeX, another TeX package 
  558.        for the PC by Eberhard Mattes, is available via anonymous ftp from 
  559.        ftp.dante.de (129.206.100.192) in 
  560.        ./tex-archive/systems/msdos/emtex and also from niord.shsu.edu
  561.        (192.92.115.8) in [.emtex]. This package includes LaTeX, METAFONT,
  562.        BibTeX, etc., as well. Documentation is available in both German 
  563.        and English.
  564.  
  565.        All Public Domain TeX software for the PC is also available 
  566.        through TUG. A catalog is available free from them at the 
  567.        address given in question 11. This collection is maintained by 
  568.        Jon Radel, who will answer technical questions on the material 
  569.        (with no service guarantee). Send electronic mail to jon@radel.com.
  570.  
  571.     Mac - see question 7 for a public domain version (OzTeX). Another version
  572.        is CMacTeX, which has TeX 3.14, METAFONT 2.7, a screen previewer,
  573.        dvips, a PostScript printing utility for the LaserWriter, and some font
  574.        managing utilities. It is available from the CTAN archives discussed
  575.        in question 22. 
  576.  
  577.     TOPS-20 - TeX was originally written on a DEC-10 under WAITS, and so
  578.        was easily ported to TOPS-20. A Distribution that runs on TOPS-20 
  579.        is available via anonymous ftp from science.utah.edu 
  580.        (128.110.198.2) in ./pub/tex/pub/web.
  581.  
  582.     VAX/VMS - TeX for VMS is available from any CTAN site (see question 22)
  583.        in the directory ./systems/vms. Standard tape distribution is 
  584.        through DECUS or Maria Code.
  585.  
  586.     Atari - TeX is available for the Atari ST from atari.archive.umich.edu
  587.        (141.211.165.41) in ./atari/tex. If anonymous ftp is not available
  588.        to you, send a message containing the line ``help'' to
  589.        atari@atari.archive.umich.edu. The mail server can uuencode
  590.        binary files. Another version can be obtained via anonymous
  591.        ftp from ifi.informatik.uni-stuttgart.de (129.69.211.1) in
  592.        ./pub/atari.st/tex. There is also lots of TeX stuff for the
  593.        Atari on the rusinfo and ftp.cs.ruu.nl archives mentioned in
  594.        question 22.
  595.  
  596.     Amiga - A full implementation of TeX 3.1 call PasTeX and METAFONT 2.7
  597.         are available via anonymous ftp from merlin.etsu.edu (192.43.199.20)
  598.         in ./ab20/AMIGA. It is also available via anonymous ftp from
  599.         forwiss.uni-passau.de (132.231.20.10) in ./pub/amiga/tex. 
  600.         You can also order a CDROM containing this and other amiga software
  601.         from Walnut Creek CDROM, (510) 947-5997.
  602.  
  603.     Tandy 6000 - If you are interested in building TeX on this machine
  604.         contact Ken Yap (ken@syd.dit.csiro.au), and he'll help you.
  605.  
  606. 20) Where can I get a thesis style for LaTeX?
  607.  
  608.     Thesis styles are usually very specific to your University, so it's
  609.     usually not profitable to ask the whole newsgroup for one. If you
  610.     want to write your own, a good place to start is the ucthesis style
  611.     available from any CTAN archive in macros/latex/contrib/ucthesis
  612.     (see question 22).
  613.  
  614. 21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  615.     and so on?
  616.  
  617.     These symbols are known as ``blackboard bold'' and are available in
  618.     the AMS fonts ``msam'' (e.g., ``msam10'' for 10pt) and ``msbm''. 
  619.     They replace the older ``msxm'' and ``msym''. The fonts have a large
  620.     number of mathematical symbols to supplement the ones 
  621.     provided by TeX. The fonts are available via anonymous ftp from
  622.     e-math.ams.com (130.44.1.100) in the directory ./ams/amsfonts.
  623.     Two files which load the fonts and define the symbols are provided,
  624.     and both work with either TeX or LaTeX. Questions or suggestions 
  625.     regarding these fonts should be directed to 
  626.     tech-support@math.ams.com.
  627.  
  628.     A set of LaTeX macros for a ``lazy person's'' blackboard bold are:
  629.        \newcommand{\R}{{\sf R\hspace*{-0.9ex}\rule{0.15ex}%
  630.        {1.5ex}\hspace*{0.9ex}}}
  631.        \newcommand{\N}{{\sf N\hspace*{-1.0ex}\rule{0.15ex}%
  632.        {1.3ex}\hspace*{1.0ex}}}
  633.        \newcommand{\Q}{{\sf Q\hspace*{-1.1ex}\rule{0.15ex}%
  634.        {1.5ex}\hspace*{1.1ex}}}
  635.        \newcommand{\C}{{\sf C\hspace*{-0.9ex}\rule{0.15ex}%
  636.        {1.3ex}\hspace*{0.9ex}}}
  637.  
  638. 22) What repositories of TeX material are available, and how can I access
  639.     them?
  640.  
  641.     To aid the archiving and retrieval of of TeX-related files, a TUG
  642.     working group developed the Comprehensive TeX Archive Network
  643.     (CTAN).  Each CTAN site has identical material, and maintains
  644.     authoritative versions of its material.  These collections are
  645.     extensive; in particular, almost everything mentioned in this
  646.     document is archived at the CTAN sites, even if not explicitly
  647.     stated.
  648.  
  649.     The CTAN sites are currently ftp.dante.de (129.206.100.192)
  650.     ftp.tex.ac.uk (134.151.44.19), and pip.shsu.edu (192.92.115.10). 
  651.     The organization of TeX files on all these sites is identical and
  652.     starts at ./tex-archive.
  653.  
  654.     To find software at a CTAN site, use anonymous ftp to the host,
  655.     and then execute the command `quote site index <search-term>'.
  656.  
  657.     The mail servers of the CTAN sites are not yet identical, but this is
  658.     planned. Here are the current methods of access via electronic mail:
  659.       - For the UK site, send a message to texserver@tex.ac.uk. The
  660.         first non-blank line of the message must contain a valid
  661.         TeXserver command (help, directory, files, whereis, search,
  662.         or path). The program will then mail you a response notifying
  663.         you that your request has been received. If you fail to get a
  664.         response from the TeXserver, you may need to use the ``path''
  665.         command to help the program out. For Internet users the
  666.         return address is of the form name%site@nsfnet-relay, while
  667.         for Bitnet and EARN it is name%site@earn-relay (i.e., include
  668.         a line that says ``path name%site@nsfnet-relay'' along with a
  669.         line containing ``help''). 
  670.       - For ftp.uni-stuttgart.de, send a message containing the line
  671.         ``help'' to mail-server@ftp.uni-stuttgart.de.
  672.       - For the SHSU site, send a message with the line HELP to
  673.         FILESERV@SHSU.BITNET. SENDME FILELIST will get an annotated
  674.         listing of all packages available there.
  675.  
  676.     The host nic.switch.ch (130.59.1.40) mirrors ftp.uni-stuttgart.de
  677.     in /mirrors/tex, as does ftp.uni-bielefeld.de (129.70.4.55) in
  678.     /pub/tex. Src.doc.ic.ac.uk (146.169.2.1) mirrors ftp.tex.ac.uk in
  679.     /packages/TeX/uk-tex/. Finally, wuarchive.wustl.edu
  680.     (128.252.135.4) mirrors pip.shsu.edu in /packages/TeX.
  681.  
  682.     There are several other repositories of TeX material available:
  683.       - ftp.cs.ruu.nl (131.211.80.17) also contains a substantial TeX
  684.         archive with ftp access. To use it via email, send a message
  685.         containing the line ``help'' to mail-server@cs.ruu.nl. This mail 
  686.         server can send binary files in a variety of different formats.
  687.       - There are LISTSERV facilities for TeX at LISTSERV@DHDURZ1.BITNET. 
  688.         Send a message containing the line ``help'' to this address.
  689.       - For users on BITNET, access to anonymous ftp for some files can
  690.         be obtained indirectly by sending mail to BITFTP@PUCC.BITNET.
  691.         Send a message containing the line ``help'' to this address for
  692.         more information.
  693.      
  694.     There is also the DECUS TeX collection, a collection of TeX material
  695.     for VMS, Unix, MS-DOS, and the Macintosh. It is available via 
  696.     anonymous ftp from wuarchive.wustl.edu (128.252.135.4) in ./decus/tex.
  697.     It can also be obtained from the DECUS Library (reference number 
  698.     VS0058) in the US, or through your DECUS office outside of the US. To 
  699.     contact the DECUS Library, send mail or call:
  700.                  The DECUS Program Library
  701.                  219 Boston Post Road BP02
  702.                  Marlboro, MA 01752-1850
  703.                  (508)480-3418
  704.     or send electronic mail to the DECUS TeX Collection Editor, Ted 
  705.     Nieland, at decus_tex@nieland.dayton.oh.us.
  706.      
  707.     Another good source of information is NETWORK SOURCES OF TeX WARE by
  708.     Peter Flynn which appeared in TeXhax, volume 90, issues 45-47 (in
  709.     May 1990).      
  710.  
  711. 23) How do I use PostScript fonts with LaTeX?
  712.  
  713.     The best way to do this is to install LaTeX2e (see question 41) and
  714.     the New Font Selection Scheme (NFSS) (see question 35), and use the 
  715.     PSNFSS2e package written by Sebastian Rahtz. It is available from all 
  716.     the major archives mentioned in question 22. Other methods for using
  717.     PostScript fonts in LaTeX are cumbersome at best.
  718.  
  719. 24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  720.  
  721.     troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
  722.       wsmr-simtel20.army.mil (192.88.110.20) in the directory 
  723.       pd2:<unix-c.textproc>. This program, written by Kamal Al-Yahya 
  724.       at Stanford, assists in the translation of a troff document into 
  725.       LaTeX format.  It recognizes most -ms and -man macros, plus most 
  726.       eqn and some tbl preprocessor commands. Anything fancier needs 
  727.       to be done by hand.  Two style files are provided.  There 
  728.       is also a man page (which converts very well to LaTeX :-).  
  729.       The program is copyrighted but free. An enhanced version of this
  730.       program, tr2latex, is available from 
  731.       ftp.informatik.rwth-aachen.de (137.226.112.172) in ./pub/TeX. 
  732.       The DECUS TeX distribution (see question 22) also contains a program
  733.       which converts troff to TeX. If you are interested in obtaining a copy
  734.       of this program without getting the entire DECUS TeX distribution, 
  735.       send the command: SENDME TROFFTOTEX in the body of a mail message to
  736.       FILESERV@SHSU.BITNET (FILESERV@SHSU.edu), or use anonymous ftp to the
  737.       directory [.TROFFTOTEX] on Niord.SHSU.edu (192.92.115.8). 
  738.  
  739.     scribe - Mark James has a copy of scribe2latex he has been
  740.       unable to test but which he will let anyone interested have.
  741.       Send email to jamesm@procor.dialogic.com. The program was written
  742.       by Van Jacobson of Lawrence Berkeley Laboratory.
  743.  
  744.     wordperfect -  wp2latex.zip is available on wuarchive.wustl.edu
  745.       (128.252.135.4) in the directory ./mirrors/msdos/tex and on
  746.       wsmr-simtel20.army.mil (192.88.110.20) in the directory pd1:<msdos.tex>.
  747.       This is a PC program written in Turbo Pascal by R. C. Houtepen at
  748.       the Eindhoven University in the Netherlands.  It converts
  749.       WordPerfect 5.0 documents to LaTeX.  Pascal source is included.
  750.       Users find it ``helpful'' and ``decent'' in spite of some
  751.       limitations. It gets high marks for handling font changes.
  752.       Limitations include no indices, table of contents, margins or
  753.       graphics.  It also won't handle the new features of WordPerfect
  754.       5.1, in particular the equation formatter. The program is
  755.       copyrighted but free.
  756.  
  757.       Glenn Geers of the University of Sydney (glenn@qed.physics.su.oz.au)
  758.       is translating wp2latex into C and adding some WordPerfect 5.1
  759.       features, in particular its equation handling.  This is an ongoing
  760.       project; the most recent version can be retrieved via anonymous ftp
  761.       from suphys.physics.su.oz.au (129.78.129.1) in ./wp2latex. It was 
  762.       posted to alt.sources on 8 August 1990.
  763.  
  764.       Commercial packages are available for DOS which convert from
  765.       WordPerfect to LaTeX, and from TeX and LaTeX to WordPerfect, but
  766.       I am unaware of any free products which do this.
  767.  
  768.     PC-Write - pcwritex.arc is available on wuarchive.wustl.edu
  769.       (128.252.135.4) in directory mirrors/msdos/tex and on
  770.       wsmr-simtel20.army.mil (192.88.110.20) in directory pd1:<msdos.tex>.
  771.       This is a print driver for PC-Write that ``prints'' a PC-Write V2.71
  772.       document to a TeX-compatible disk file.  It was written by Peter
  773.       Flynn at University College, Cork, Ireland.  It is public domain.  
  774.  
  775.     runoff - Peter Vanroose (vanroose@esat.kuleuven.ac.be) has 
  776.       written a RUNOFF-to-TeX conversion program in VMS Pascal.  It is 
  777.       available from comp.text archives (they do exist, don't they?  The 
  778.       program was submitted in December 1987) or from the author 
  779.       (peter@dit.lth.se) or from Mark James (jamesm@procor.dialogic.com).
  780.  
  781.     refer/Tib - There are a few programs for converting bibliographic data 
  782.       between BibTeX and refer/Tib formats.  They are available via 
  783.       anonymous ftp from ftp.ai.mit.edu (128.52.32.11) in the 
  784.       directory ./pub/refer-to-bibtex.  In spite of the directory name, 
  785.       it also contains a  shell script to convert BibTeX to REFER as 
  786.       well. Unfortunately, this collection is not maintained.
  787.  
  788.     RTF - A program for converting Microsoft's Rich Text Format to TeX
  789.       is available via anonymous ftp from astro.princeton.edu
  790.       (128.112.128.131) in ./pub/rtf2TeX.tar.Z. It was written and is
  791.       maintained by Robert Lupton (rhl@astro.princeton.edu). There is
  792.       also an rtf2LateX written by Erwin Wechtl available from 
  793.       ftp.vmars.tuwien.ac.at (128.130.39.16) in ./pub/misc.
  794.  
  795.     Microsoft Word - A rudimentary program for converting MS-Word
  796.       to LaTeX is wd2latex, for MS-DOS, available via anonymous ftp
  797.       from any CTAN site (see question 22). A better idea, however, 
  798.       is to convert the document to RTF format and use the RTF 
  799.       converter mentioned above.
  800.     
  801.     In addition, a group at Ohio State University is working on a common
  802.     document format based on SGML.  In theory any format could be
  803.     translated to or from this one.  Also, Framemaker supposedly has
  804.     ``import filters'' to aid in the translation from alien formats
  805.     (presumably including TeX) to Framemaker; perhaps other desktop
  806.     publishing programs have similar things.
  807.       
  808. 25) How do I get a file into the major style repositories?
  809.     
  810.     Use anonymous ftp to any CTAN archive (see question 22) and
  811.     retrieve the file README.uploads in the root directory. It contains
  812.     instructions for uploading files and notifying the appropriate
  813.     people for that site.
  814.  
  815.     If you cannot use ftp, mail your contribution to sty-mgr@shsu.edu
  816.     and it will be passed along. You will make everyone's life easier
  817.     if you choose a descriptive and unique name for your submission, so
  818.     it's probably good idea to browse through some of the styles
  819.     already available to insure your style file's name is not already
  820.     in use.
  821.  
  822. 26) Where can I get font Y?
  823.  
  824.     A comprehensive list of METAFONT fonts is posted to Comp.fonts
  825.     about once every six weeks by Lee Quin (lee@sq.sq.com). It contains
  826.     both commercial fonts and fonts available via anonymous ftp. Most
  827.     of the fonts available via anonymous ftp are available from
  828.     the CTAN archives (see question 22). Also, the file wujastyk.txh
  829.     ./tex-archive/digests/texhax/txh/wujastyk.txh is a copy of
  830.     Dominik Wujastyk's font article, and contains information on
  831.     METAFONT fonts as well.
  832.  
  833. 27) Where can I get a dvi driver for the HP LaserJet?
  834.  
  835.     PC - The emtex package mentioned in question 19 contains a driver for
  836.        the LaserJet, dvihplj. 
  837.  
  838.     Version 2.10 of the Beebe drivers support the LaserJet. These drivers
  839.     will compile under Unix, VMS, and on the Atari ST and DEC-20's. They
  840.     are available from science.utah.edu (128.110.198.2) in ./pub/tex/dvi.
  841.  
  842. 28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  843.  
  844.     You have a version mismatch problem. The hyphenation algorithm changed
  845.     between version 2.9 and 3.0. If you are using TeX version 3.0 or
  846.     later, make sure you have plain.tex and lplain.tex files with a
  847.     version number of at least 3.0.
  848.  
  849.     For those of you curious about the change, here's what happened:
  850.     in versions of TeX before 3.0 the hyphenation algorithm would not
  851.     break a word if the part before the break was not at least two
  852.     characters long, and the part after the break at least three 
  853.     characters long. Starting with version 3.0 two integer parameters,
  854.     \lefthyphenmin and \righthyphenmin, control the length of these
  855.     fragments. These are set to 2 and 3, respectively, in the new
  856.     plain and lplain formats. They can be set to any value, of course,
  857.     but if \lefthyphenmin + \righthyphenmin is greater than 62, all
  858.     hyphenation is suppressed.
  859.  
  860. 29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  861.     with all the formatting intact, a la nroff?
  862.  
  863.     Ralph Droms (droms@bucknell.edu) has a style file and a C program
  864.     that provide the LaTeX equivalent of nroff. Although it doesn't do
  865.     a good job with tables and math, it's the best way to convert that
  866.     I've seen. The software is available for anonymous ftp from
  867.     sol.cs.bucknell.edu (134.82.1.8) in ./droms/txt-dist.tar. This is a
  868.     modification of the dvi2tty program; the original often does an
  869.     acceptable job and can be gotten from any CTAN site (see question 22).
  870.  
  871.     Another possibility is to use screen.sty, available from all the
  872.     major archives. However you need a program called crudetype to
  873.     process the resulting dvi file. It is available from
  874.     emx.utexas.edu (128.83.186.11) in
  875.     ./pub/mnt/source/tex/tex-3.0/DVIware/lpr-viewers/crudetype and
  876.     from ftp.uni-stuttgart.de (129.69.8.13) in
  877.     ./tex-archive/dviware/screenview. Another possibility is to use
  878.     the LaTeX-to-ASCII conversion program, l2a, available from
  879.     comp.sources.misc archives (one archive site is ftp.uu.net
  880.     (192.48.96.9)), although this is really more of a de-TeXing
  881.     program. If you are running under Unix and have C++ and perl, you
  882.     might try Jonathan Monsarrat's LameTeX package (which actually
  883.     does much more than this), available from wilma.cs.brown.edu
  884.     (128.148.33.66) in ./pub/lametex.tar.Z.
  885.  
  886. 30) How do I enlarge TeX? I keep getting `memory capacity exceeded'
  887.     errors.
  888.  
  889.     Most of the time, a ``memory capacity exceeded'' error can be fixed
  890.     without enlarging TeX.  The most common causes are unmatched braces,
  891.     extra-long lines, and poorly-written macros.  Extra-long lines
  892.     are often introduced when files are transferred incorrectly between
  893.     operating systems.  (The tell-tale sign of an extra-long line error
  894.     is when the complaint is that the `buf_size' has overflowed.)
  895.  
  896.     If you really need to extend your TeX's capacity, the proper method
  897.     varies depending on your installation.  In the purest form, you
  898.     change the parameters in module 11 (``The following parameters can
  899.     be changed...'')  In less pure forms, you might need to modify a
  900.     change file, or perhaps change some environment variables.  Consult
  901.     the documentation that came with your particular implementation.
  902.  
  903. 31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  904.     numbered. What do I do?
  905.  
  906.     If you see this, you are using the \maketitle command too. This is
  907.     not a bug but a feature! The standard LaTeX styles are written so
  908.     that initial pages (pages containing a \maketitle, \part, or \chapter)
  909.     have a different page style than the rest of the document. Hence, the
  910.     above commands internally issue a \thispagestyle{plain}. This is
  911.     usually not acceptable behavior is the page style is `empty'.
  912.  
  913.     Possible workarounds include:   
  914.      - Put \thispagestyle{empty} immediately after the \maketitle command, 
  915.        with no blank line between them.
  916.      - Use fancyheadings.sty, available from any CTAN (see question 22).
  917.        In this style, the style for initial pages can be customized as well.
  918.  
  919. 32) Where do I find documentation about BibTeX?
  920.  
  921.     BibTeX, a program originally designed to produce bibliographies in
  922.     conjunction with LaTeX, is explained in Section 4.3 and Appendix B 
  923.     of Leslie Lamport's LaTeX manual.  The ``BibTeXing'' document, 
  924.     contained in the file btxdoc.tex, gives a more complete description.
  925.     _The LaTeX Companion_ also has information on BibTeX and writing 
  926.     BibTeX style files.
  927.  
  928.     The ``Designing BibTeX Styles'' document, contained in the file 
  929.     btxhak.tex, explains the postfix stack-based language used to
  930.     write BibTeX styles (.bst files).  The file btxbst.doc is the template
  931.     file for the four standard styles (plain, abbrv, alpha, unsrt). It
  932.     also contains the documentation for them.
  933.  
  934.     The current Unix-BibTeX man page, contained in the file
  935.     bibtex.1, was updated in January 1992 and is about one page long.
  936.     There's an old and obsolete version floating around, written in 1985
  937.     before ``BibTeXing'' and ``Designing BibTeX Styles'' appeared, that is
  938.     several pages long.  You should ignore it (or throw it away), since it
  939.     describes BibTeX version 0.98, style files of which are incompatible 
  940.     with the current version, 0.99 (to be precise, 0.99c).
  941.  
  942.     All files mentioned in this answer are available via anonymous ftp
  943.     from labrea.stanford.edu (36.8.0.112) in the BibTeX ftp area, 
  944.     tex/bibtex. All the non-Unix files should be available on any system 
  945.     that runs BibTeX; if they're not on your system, please complain to 
  946.     your BibTeX installer or to your distribution source.
  947.  
  948. 33) How do I use BibTeX with plain TeX?
  949.  
  950.     The file btxmac.tex contains TeX macros and documentation for using
  951.     BibTeX with plain TeX, either directly or with Karl Berry's Eplain
  952.     package. It is available via anonymous ftp from labrea.stanford.edu
  953.     (36.8.0.112) in tex/bibtex (see question 32 for more information 
  954.     about BibTeX).
  955.  
  956. 34) How do I draw Feynman diagrams in LaTeX?
  957.  
  958.     Michael Levine's macro package for drawing Feynman diagrams in LaTeX
  959.     is available via mail-server from physics.utoronto.ca. Send a message
  960.     containing the line ``send INDEX'' to mail-server@physics.utoronto.ca
  961.     for information on how to retrieve it.
  962.  
  963. 35) What is the New Font Selection Scheme (NFSS)?
  964.  
  965.     NFSS is an extension to LaTeX written by Frank Mittelbach and Rainer
  966.     Sch\"opf. It is described in TUGboat, volume 10 (1989), No. 2.
  967.     In traditional typesetting, fonts are described by four parameters:
  968.     the family (e.g., computer modern), the series (i.e., the weight and
  969.     width of the font, like light or bold), the shape (e.g., italic), and
  970.     the size. NFSS is a mechanism allowing the user to change any of these
  971.     independently. NFSS makes it relatively easy to use nonstandard fonts
  972.     such as the PostScript ones with LaTeX, and easy to change math fonts.
  973.     It also allows dynamic loading of fonts at runtime (not when the
  974.     format file is created).
  975.  
  976.     NFSS is no longer supported for LaTeX version 2.09, but is standard
  977.     with LaTeX2e (see question 41).
  978.  
  979.     There is one caveat that applies to LaTeX documents written for
  980.     the OLD scheme: some of them use special styles for special fonts
  981.     which will not work under the NFSS.
  982.  
  983. 36) In LaTeX, my cross-references for floats (figures and tables) are
  984.     incorrect. What's wrong?
  985.  
  986.     The \label command must come after the \caption command, or
  987.     be part of it. For example,
  988.        \begin{figure}               \begin{figure}
  989.        \caption{A Figure}    or     \caption{A Figure\label{fig}}
  990.        \label{fig}                  \end{figure}
  991.        \end{figure}
  992.  
  993. 37) I want to change the margins in LaTeX. What can I do?
  994.  
  995.     This answer first helps you change the margins throughout a
  996.     document, then tells you how to change the margins in a portion
  997.     of the document.
  998.  
  999.     Perhaps the easiest way to get more out of a page in LaTeX is to
  1000.     get fullpage.sty, available from all the major archive servers
  1001.     mentioned in question 22. This sets the margins of the page identical
  1002.     to those of Plain TeX, i.e., 1-inch margins at all four sides of the
  1003.     paper. It also contains an adjustment for A4 paper.
  1004.  
  1005.     Here is a brief explanation of what's going on with the page
  1006.     parameters in LaTeX. They are explained in section C.4.2 of the
  1007.     LaTeX manual (p. 163). The margin parameters represent measurements
  1008.     made to the DVI file. The origin in DVI coordinates is one inch
  1009.     from the top of the paper and one inch from the left side. This
  1010.     explains the ``one inch less than'' terminology used in the LaTeX
  1011.     manual. In DVI coordinates, positive horizontal measurements extend
  1012.     right across the page, and positive vertical measurements extend down
  1013.     the page. Thus, for margins closer to the left and top edges of the
  1014.     page than 1 inch, the corresponding parameters, e.g.,
  1015.     \evensidemargin, \oddsidemargin, \topmargin, can be set to negative
  1016.     values.
  1017.  
  1018.     Finally, to change the margins of a document within the document,
  1019.     modifying the parameters listed on page 163 will not work. They
  1020.     can only be changed in the preamble of the document, i.e, before
  1021.     the \begin{document} statement. To adjust the margins within a
  1022.     document we define an environment which does it:
  1023.       \newenvironment{changemargin}[2]{\begin{list}{}{
  1024.          \setlength{\topsep}{0pt}\setlength{\leftmargin}{0pt}
  1025.          \setlength{\rightmargin}{0pt}
  1026.          \setlength{\listparindent}{\parindent}
  1027.          \setlength{\itemindent}{\parindent}
  1028.          \setlength{\parsep}{0pt plus 1pt}
  1029.          \addtolength{\leftmargin}{#1}\addtolength{\rightmargin}{#2}
  1030.          }\item }{\end{list}}
  1031.     This environment takes two arguments, and will indent the left
  1032.     and right margins by their values, respectively. Negative values
  1033.     will cause the margins to be widened, so
  1034.     \begin{changemargin}{-1cm}{-1cm} widens the left and right margins
  1035.     by 1cm.
  1036.  
  1037. 38) How do I find the width of a letter, word, or phrase in TeX?
  1038.  
  1039.     Put the word in a box, and measure the width of the box. For example,
  1040.         \setbox0=\hbox{hi}
  1041.         width=\wd0
  1042.     Note that if the quantity in the hbox is a phrase, the actual 
  1043.     measurement only approximates this width, since the interword glue
  1044.     can be adjusted in paragraph mode.
  1045.  
  1046.     In LaTeX, the following works (taken from the manual):
  1047.         \newlength{\gnat}
  1048.         \settowidth{\gnat}{\em small}
  1049.     This sets the value of the length command \gnat to the width of ``small''
  1050.     in emphasized text.
  1051.  
  1052. 39) In LaTeX, is there a comment or ``ignore'' environment with which
  1053.     I can exclude blocks of text from the .dvi file?
  1054.  
  1055.     Rainer Sch\"opf's verbatim.sty provides a comment environment which
  1056.     excludes everything between \begin{comment} and \end{comment}. It is
  1057.     available via anonymous ftp from any CTAN site (see question 22) in
  1058.     ./tex-archive/macros/latex/distribs. Several files are needed to
  1059.     install the package. A more general environment for doing this is
  1060.     comment.sty, also available from the CTAN sites in
  1061.     ./tex-archive/macros/latex/contrib/misc.
  1062.  
  1063. 40) Where can I find a spelling checker for my TeX file?
  1064.  
  1065.     For Unix, ispell is probably the program of choice. It is available
  1066.     from any CTAN site (see question 22) in ./tex-archive/support/ispell.
  1067.  
  1068.     For DOS, jspell is an extended version of ispell, and is available via
  1069.     anonymous ftp from oak.oakland.edu (141.210.10.117) in 
  1070.     ./pub/msdos/tex/jspell*.zip.
  1071.  
  1072. 41) What is LaTeX2e?
  1073.  
  1074.     LaTeX2e is the new standard version of LaTe, prepared and supported
  1075.     by the LaTeX3 project team. Currently, it is in a test phase
  1076.     although it is available from any CTAN site (see question 22) in
  1077.     ./tex-archive/macros/latex2e/core. After testing, LaTeX2e will become
  1078.     LaTeX, and LaTeX 2.09 will no longer be supported or available.
  1079.  
  1080.     LaTeX2e is upwardly compatible with LaTeX 2.09, but supports many new
  1081.     features, including:
  1082.      - NFSS (see question 35) is now standard.
  1083.      - SliTeX is consolidated into it, and there is no longer a need for
  1084.        a separate program.
  1085.      - The output routine gives better control of floating environments,
  1086.        such as figures.
  1087.      - There is a documented interface to style files.
  1088.      - Enhanced box commands, e.g., options to specify the height of a 
  1089.        minipage.
  1090.      - \ref is now robust and can be used in \caption.
  1091.      - \newcommand can define commands with optional arguments.
  1092.      - A standard package for color and graphics inclusion (real soon now).
  1093.  
  1094.     Since LaTeX2e is supported, you can report bugs or problems with it by
  1095.     typing `latex latexbug' and sending the report it generates to 
  1096.     latex-bugs@rus.uni-stuttgart.de.
  1097. -- 
  1098. Bobby Bodenheimer                @hot.caltech.edu
  1099. // ARPA  : bobby@hot.caltech.edu                |
  1100. // BITNET: bobby@caltech.bitnet                 | Woof!
  1101. // UUCP  : {amdahl,ames!elroy}!cit-vax!bobby    | 
  1102.